﻿<form id="placeorderform">
    <input type="hidden" id="agentsn" name="agentsn" value="${agsn}"/>
    <table class="placeorderarea">
        <tr>
            <td class="closeorder action-li ui-state-default ui-corner-all">
                <a href="javascript:void(0);" class="ui-icon ui-icon-close" id="clordform" title="Close"></a>
            </td>
            <td>
                <select name="prodsn" id="prodsn" tabindex="200">
                {for p in pList}
                    <option value="${p.psn}">(${p.pid})${p.pname}</option>
                {/for}
                </select>
            </td>
            <td>
                <label for="buy"><input type="radio" id="buy" name="buysell" value="Buy" tabindex="204" />${l.Buy}</label><br />
                <label for="sell"><input type="radio" id="sell" name="buysell" value="Sell" tabindex="205" />${l.Sell}</label>
            </td>
            <td>
                ${l.Unit}:
                <select id="orderunit" name="orderunit" tabindex="206">
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                </select>
            </td>
            <td>
                <label for="limitprice"><input type="radio" id="limitprice" name="lm" value="Limit" tabindex="207" checked />${l.Limit}</label>
                <label for="marketprice"><input type="radio" id="marketprice" name="lm" value="Market" tabindex="208" />${l.Market}</label><br />
                <input type="text" id="priceask" name="priceask" class="decimal" tabindex="209" />
            </td>
            <td>
                <a href="javascript:void(0);" id="sendorder" class="align-right ui-state-default ui-corner-all" tabindex="208"><span class="ui-icon ui-icon-check"></span>${l.Submit}</a>
            </td>
        </tr>
    </table>
</form>